package com.fqgj.xjd.user.dao;
import com.fqgj.common.api.Page;
import com.fqgj.common.base.BaseMapper;
import com.fqgj.xjd.user.entity.UserLevelActionFlowEntity;

import java.util.Date;
import java.util.List;

/**
* User: frank
* Date: 2020-04-14
* Time: 11:44:17.527
*/

public interface UserLevelActionFlowDao  extends BaseMapper<UserLevelActionFlowEntity> {

    List<UserLevelActionFlowEntity> getUserLevelActionFlowList(String userCode, Integer type);

    List<UserLevelActionFlowEntity> getUserLevelActionFlowListByPage(String userCode, Integer type, Integer rewardType, Page page);

    List<UserLevelActionFlowEntity> getUserLevelActionFlowListByDate(String userCode, Integer type, Date currentDate);

    List<UserLevelActionFlowEntity> getUserLevelActionFlowListBetweenDate(String userCode, Integer type, Date startDate, Date endDate);
}